package com.lab.project.visitor.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lab.framework.web.domain.BaseEntity;
import com.lab.project.visitor.domain.DeviceEntity;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

/**
 * 接收前段传过来的数据
 *
 * @author 黄晏凯
 */
@Data
@Component
public class VisitorRecordVO extends BaseEntity {
    private Long id;
    private String deviceId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date expectVisitEndTime;
    private String facePicUrl;
    private String userIdCard;
    private String userName;
    private String userSex;
    private String userPhone;
    private String userType;
    private String visitReason;
    private String visitStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date visitStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date actualVisitEndTime;
    private List<DeviceEntity> deviceList;
    private String pageNum;
    private String pageSize;


}
